﻿@using xConnected.Common.CompanyProfile
<div class="container-fluid">
    <div class="row-fluid">
        <div class="span12">
            <div class="breadcrumb">
                <div class="row-fluid">
                    <strong style="color: #999999; font-size: 11px;">@CompanyProfile.OPERATIONS</strong>
                    <div class="pull-right" >
                        <a class="btn btn-small" data-bind="click: function() { $root.company.enableCreateMode(); }, visible: $root.company.myCompany() == null, css: {'disabled': $root.company.editMode}"><i class="icon-plus"></i></a>
                        <a class="btn btn-small" data-bind="click: function() { $root.company.enableEditMode(); }, css: {'disabled': $root.company.editMode}"><i class="icon-pencil "></i></a> 
                        <a data-toggle="modal" href="#DeleteCompanyDialog" class="btn btn-small"><i class="icon-trash "></i></a>
                    </div>
                </div>
            </div>
           @Html.Partial("MyAccount/Partial/MyCompanyProfiles/MyCompanyViewMode")
           @Html.Partial("MyAccount/Partial/MyCompanyProfiles/MyCompanyEditMode")
            <div class="breadcrumb" style="margin-top: 20px">
                <div class="row-fluid">
                    <strong style="color: #999999; font-size: 11px">@CompanyProfile.OPERATIONS</strong>
                    <div class="pull-right" style="margin-top: 0px">
                        <a class="btn btn-small" data-bind="click: function() { $root.company.enableCreateMode(); }, visible: $root.company.myCompany() == null, css: {'disabled': $root.company.editMode}"><i class="icon-plus"></i></a>
                        <a class="btn btn-small" data-bind="click: function() { $root.company.enableEditMode(); }, css: {'disabled': $root.company.editMode}"><i class="icon-pencil "></i></a> 
                        <a data-toggle="modal" href="#DeleteCompanyDialog" class="btn btn-small"><i class="icon-trash "></i></a>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
 